package com.tuo51.manager.vo;

import com.tuo51.foudation.utils.CopyUtils;
import com.tuo51.manager.domain.Channel;
import com.tuo51.manager.domain.SysUser;
import lombok.Data;

import javax.persistence.Column;
import java.util.Date;

@Data

public class ChannelVO {
    private String id;//用户id

    private boolean deleted;

    private Date created;

    private String name;

    private String comment;

    private String value;



    public static ChannelVO of(Channel obj){
        ChannelVO ret = new ChannelVO();

        CopyUtils.copyProperties(obj, ret);

        return ret;
    }

}
